/**
 * output package name
 */
package com.kingdee.eas.mx.sm;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class SwatchType extends StringEnum
{
    public static final String APPROVE_VALUE = "10";
    public static final String FAIL_VALUE = "20";
    public static final String PENDING_VALUE = "30";

    public static final SwatchType Approve = new SwatchType("Approve", APPROVE_VALUE);
    public static final SwatchType Fail = new SwatchType("Fail", FAIL_VALUE);
    public static final SwatchType Pending = new SwatchType("Pending", PENDING_VALUE);

    /**
     * construct function
     * @param String swatchType
     */
    private SwatchType(String name, String swatchType)
    {
        super(name, swatchType);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static SwatchType getEnum(String swatchType)
    {
        return (SwatchType)getEnum(SwatchType.class, swatchType);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(SwatchType.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(SwatchType.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(SwatchType.class);
    }
}